import defineReactive from "./defineReactive"
import Observer from "./Observer";
var obj = {
    a: {
        m: {
            n: 5
        }
    }
};

// 创建observe函数
function Observe(value) {
    // 如果value不是对象
    if (typeof value != "object") {
        return;
    }
    var ob;
    if (typeof value.__ob__ != "undefined") {
        ob = value.__ob__;
    } else {
        ob = new Observer(value);
    }
    return ob;
}